// global style
body {
    color: #212121;
    background-color: #f8f8f8;
}

// rewrite weui style
.weui-cells {
    margin-top: 0;
    &::after {
        display: none;
    }
}

.weui-cells_checkbox {
    .weui-cell {
        justify-content: center;
        &::before,
        &::after {
        display: none;
        }
    }
    .weui-cell__bd {
        -webkit-box-flex: inherit;
        -webkit-flex: inherit;
        flex: inherit;
    }
    .weui-check:checked + .weui-icon-checked:before {
        color: #ffae32;
    }
}

.weui-cell {
    background-color: #fff;
    .weui-label {
        width: auto;
    }
    .weui-input {
        text-align: right;
    }
    .weui-select {
        direction: rtl;
        &:invalid {
        color: #909090;
        }
        &:hover,
        &:active,
        &:focus {
        color: #212121;
        }
    }
}

.weui-btn {
    background-color: #ffae32;
    color: #fff !important;
}

.weui-dialog__hd {
    position: relative;
    color: #888;
    font-size: 14px;
    &::after {
        content: " ";
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        height: 1px;
        border-top: 1px solid #f9f9f9;
        color: #d5d5d6;
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
        -webkit-transform: scaleY(.5);
        transform: scaleY(.5);
    }
}

.weui-dialog__bd {
    color: #212121;
}

.weui-check__label::before {
    display: none;
}

.weui-dialog__ft {
    &::after {
        border-color: #f9f9f9;
    }
    .weui-dialog__btn::after {
        border-color: #f9f9f9;
    }
}

.weui-dialog__btn_primary {
    color: #ffae32;
}

.weui-form-preview {
    margin-top: 20px;
    width: 85%;
    margin: 20px auto 0;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    box-shadow: 0 1px 1px 0 rgba(213,213,213,.3);
    &::before,
    &::after {
        display: none;
    }
    p {
        text-align: center;
        padding-top: 30px;
        padding-bottom: 30px;
        font-size: 16px;
    }
    .weui-form-preview__value {
        text-align: left;
        color: #212121;
    }
    .weui-form-preview__label {
        text-align-last: inherit;
        width: 120px;
    }
}

.weui-form-preview__btn_primary {
    color: #ffae32;
}

.weui-footer {
    padding-top: 40px;
    padding-bottom: 10px;
    text-align: center;
    .weui-footer__links {
        font-size: 14px;
    }
}

.weui-footer.j_bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.weui-btn-area {
    margin: 0 15px 0;
}

// custom style
.inn-tip {
    padding: 10px 15px;
    color: #f2a75a;
    font-size: 14px;
}

.inn-tip-inner {
    background-color: #fff;
}

.inn-fchild::before{
    display: none;
}

.inn-dialog-ft {
    position: relative;
    padding: 10px 15px;
    font-size: 14px;
    color: #808080;
    &::before {
        content: " ";
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        height: 1px;
        border-top: 1px solid #f9f9f9;
        color: #d5d5d6;
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
        -webkit-transform: scaleY(.5);
        transform: scaleY(.5);
    }
}

.inn-picker {
    padding-right: 15px;
    &::after {
        content: " ";
        display: inline-block;
        height: 6px;
        width: 6px;
        border-width: 2px 2px 0 0;
        border-color: #c8c8cd;
        border-style: solid;
        -webkit-transform: matrix(.71,.71,-.71,.71,0,0);
        transform: matrix(.71,.71,-.71,.71,0,0);
        position: relative;
        top: -2px;
        position: absolute;
        top: 50%;
        right: 15px;
        margin-top: -3px;
    }
}